home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dskut / exehex.zip / EXEHEX.TXT < prev    next >
Text File  |  1991-03-30  |  2KB  |  40 lines

  1. NAME
  2.     EXEHEX - A Microsoft EXE to Intel HEX file converter
  3.  
  4. SYNOPSIS
  5.     EXEHEX [-d][-N][-H][-?][-Sxxxx][-Oyyyy] exefile [hexfile]
  6.  
  7. DESCRIPTION
  8.     EXEHEX is a utility that takes linked EXE files and converts them
  9.     into HEX files suitable for programming EPROMS.
  10.  
  11.     EXEHEX performs just like the MSDOS loader program.  It processes
  12.     the EXE files relocation table by adding the segment value presented
  13.     with the -Sxxxx option to each segment value in the program that needs
  14.     relocation.
  15.  
  16.     -d    turns on some debug print messages, should be first option on
  17.         line.
  18.     -N    prevents the outputting of an Intel HEX End Record.
  19.     -H    or
  20.     -?    causes a help reference to be printed on stderr.
  21.     -Sxxxx    causes an Intel Hex Extended Address Record to be made with
  22.         segment "xxxx" as its start value.  xxxx must be a hex number
  23.         in paragraphs (phys address/16).  The default value of -S is
  24.         0000H.  The value presented in the -S option is also used as
  25.         the start segment in relocating the relocation table items
  26.         found in the EXE file.
  27.     -Oyyyy    causes all hex records to be offset by yyyy hex bytes. The
  28.         default value for -O is 0000H.  This option is not usually
  29.         used, or needed.
  30.  
  31.     exefile    is a standard MSDOS exe file used as input.
  32.     hexfile is the optional output file.  If hexfile is not present, the
  33.         output will go to stdout.
  34.  
  35. SEE ALSO
  36.     Microsoft Reference documentation on MASM and LINK
  37. BUGS
  38.     This program won't convert just any application program to a working
  39.     EPROM, as it doesn't handle data segments very well.
  40.